﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace CPPProject.CPP.Dto
{
    [AutoMapTo(typeof(CPPOrderDtl))]
    public class UpdateCPPOrderDtlDto:EntityDto<Guid>
    {
        /// <summary>
        /// 所属公司
        /// </summary>
        public long CompanyId { get; set; }
        /// <summary>
        /// 订单编号
        /// </summary>
        public string OrderNum { get; set; }
        /// <summary>
        /// 资产编码
        /// </summary>
        public string PartNum { get; set; }
        public Guid PartId { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public decimal Quantity { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public decimal UnitPriice { get; set; }
        /// <summary>
        /// 总价
        /// </summary>
        public decimal LineAmount { get; set; }
        /// <summary>
        /// 税率
        /// </summary>
        public decimal TaxRate { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public string Status { get; set; }
    }
}
